/*
 * Brian M. Luger
 * North Welcome Panel
 * Date: 12/3/2011
 */
package gui.welcome;

import gui.CAFrame;

import java.awt.Color;
import java.awt.FlowLayout;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 * North Welcome Panel
 * 
 * @author Brian M. Luger
 * @version 12/3/2011
 */
@SuppressWarnings("serial")
public class WelcomeNorthPanel extends JPanel {
	/**
	 * Conference Assistant Title
	 */
	private static final String TITLE = "Conference Assistant"; 
	
	/**
	 * Parent Frame
	 */
	private final CAFrame my_parent;
	
	/**
	 * CA Title
	 */
	private final JLabel my_title;
	
	/**
	 * Welcome North Panel Constructor
	 * 
	 * @param parentFrame Parent Frame
	 */
	public WelcomeNorthPanel(final CAFrame parentFrame) {
		my_parent = parentFrame;
		my_title = new JLabel();
		
		init();
	}
	
	/**
	 * North Panel Initialization
	 */
	private void init() {
		setLayout(new FlowLayout(FlowLayout.CENTER));
		setBackground(new Color(255,255,255,0));
		
		my_title.setText(TITLE);
		my_title.setFont(
				new Font("Times New Roman", Font.ITALIC, 32));
		add(my_title);
	}
}
